package com.sikaryofficial.system.api;

import com.sikaryofficial.common.core.constant.ServiceNameConstants;
import com.sikaryofficial.common.core.domain.R;
import com.sikaryofficial.system.api.factory.RemoteReportFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 举报接口
 * 
 * @author qinjinyuan
 */
@FeignClient(contextId = "remoteReportService", value = ServiceNameConstants.BACKEND_SERVICE, fallbackFactory = RemoteReportFallbackFactory.class)
public interface RemoteReportService
{
    /**
     * 自动处理30分以上为 受理中的举报
     *
     * @return 结果
     */
    @GetMapping("/user/report/autoProcess")
    public R<Boolean> autoProcess();

}
